package tsg.event;

public class TouchEvent extends InputEvent
{
	public static int PINCH_IN						= 1;
	public static int PINCH_OUT						= 2;
	public static int ROTATE_CLOCKWISE				= 3;
	public static int ROTATE_COUNTER_CLOCKWISE		= 4;
	
	
	
	public TouchEvent(Object source) 
	{
		super(source);
	}
	
	public TouchEvent(Object source, int type, int distance) 
	{
		super				(source);
		this.setType		(type);
		this.setDistance	(distance);
	}

	
	public int getType()
	{
		return _type;
	}
	
	public void setType(int type)
	{
		_type = type;
	}
	
	
	public int getDistance()
	{
		return _distance;
	}
	
	public void setDistance(int distance)
	{
		_distance = distance;
	}
	
	
	private int _type = -1;
	private int _distance = -1;
}
